import 'package:hotpot/generated/json/base/json_field.dart';
import 'package:hotpot/generated/json/table_count.g.dart';
import 'dart:convert';

@JsonSerializable()
class TableCount {

	int? id;
	int? orders;
	int? changes;
	@JSONField(name: "skip_changes")
	int? skipChanges;
  
  TableCount();

  factory TableCount.fromJson(Map<String, dynamic> json) => $TableCountFromJson(json);

  Map<String, dynamic> toJson() => $TableCountToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}